package com.example.dao;

import com.example.common.PageQueryParam;
import com.example.dto.CommentDto;
import com.example.entity.TCommentEntity;
import com.example.vo.CommentVo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TCommentMapper {

    Integer count();

    List<CommentVo> select(PageQueryParam<TCommentEntity> pageQueryParam);

    Integer create(CommentDto commentDto);

    Integer delete(Integer id);
}
